package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 抖音回调消息对象 rx_doudian_msg_2
 *
 * @author hjf
 * @date 2025-04-02
 */
public class RxDoudianMsg extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 消息种类此消息的tag值为"110"具体查看注释
     */
    @Excel(name = "tag值")
    private String tag;

    /**
     * 消息记录ID
     */
    @Excel(name = "消息记录ID")
    private String msgId;

    /**
     * 消息体
     */
    @Excel(name = "消息体")
    private String data;

    /**
     * 处理状态1未处理2已处理
     */
    @Excel(name = "处理状态1未处理2已处理")
    private Integer status;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    private Long time;


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getTag() {
        return tag;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getData() {
        return data;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    public Long getTime() {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("tag", getTag())
                .append("msgId", getMsgId())
                .append("data", getData())
                .append("status", getStatus())
                .append("time", getTime())
                .toString();
    }
}
